package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.DrugBean;

/**
 * @author RJ
 * @date 2022/9/15 15:35
 */
public interface IDrugService extends IService<DrugBean> {
    //添加药剂
    void addDrug(DrugBean drugBean);

    //根据药剂名称、防治类型、类别查询药剂信息，并分页展示
    IPage<DrugBean> cutDrugByItem(Integer pageNo, Integer pageSize, String drugName, String drugControlType, String drugType);
}
